package com.ebao.service.user;

import java.util.List;

import com.ebao.po.doctor.TDoctor;
import com.ebao.po.user.TFollow;
import com.ebao.po.user.TUser;
import com.ebao.service.base.ICrudService;

/**
 * @desc 用户、医生之间相互关注
 * @author snow
 * @date 2012-7-12
 */
public interface IFollowService extends ICrudService<TFollow> {
	
	/**
	 * 查询关注TUser的用户
	 */
	public List<TUser> getFollowUsers(TUser user);
	
	/**
	 * 查询关注TUser的医生
	 */
	public List<TDoctor> getFollowDoctors(TUser user);
	
	/**
	 * 查询关注TDoctor的用户
	 */
	public List<TUser> getFollowUsers(TDoctor doctor);
	
	/**
	 * 查询关注TDoctor的医生
	 */
	public List<TDoctor> getFollowDoctors(TDoctor doctor);
	
	
	/**
	 * 查询TUser关注的用户
	 */
	public List<TUser> getFollowedUsers(TUser user);
	
	/**
	 * 查询TUser关注的医生
	 */
	public List<TDoctor> getFollowedDoctors(TUser user);
	
	/**
	 * 查询TDoctor关注的用户
	 */
	public List<TUser> getFollowedUsers(TDoctor doctor);
	
	/**
	 * 查询TDoctor关注的医生
	 */
	public List<TDoctor> getFollowedDoctors(TDoctor doctor);

}
